<!DOCTYPE html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title></title>
  <meta name="keywords" content="统一地图平台api">
  <meta name="description" content="统一地图平台api">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <link href="./../script/api.css" rel="stylesheet">
</head>

<body class="restdemo-page">
  <div class="page_wrapper">
    <div data-tpl="" class="content-sidebar has_right">
      <div class="content">
        <div class="crumbs">
          您现在的位置：
          <a>开发</a>
          &gt;
          <a>地理编码</a>
          &gt;
          <a>正地理编码</a></div>
        <article>
          <h1 class="title">
            正地理编码
            <span class="update-time">最后更新时间: 2020年08月10日</span>
          </h1>
          <div>
            <div class="md-container">
              <h2>调用示例</h2>
              <!-- <p>第一步、导入资源文件</p> -->
              <div class="md-demo-code-wrapper">
                <div class="md-demo-code-header"><a class="active">url</a></div>
                <div class="md-demo-code-content">
                  <div class="md-demo-code-content-item active">
                    <pre><code class="html hljs xml">
  http://${IP:PORT}/api/v1/coder/geocoding?adcode=440100&keywords=%E7%A7%91%E6%B1%87%E9%87%91%E8%B0%B7&page_num=1&page_size=10
                                        </code></pre>
                  </div>
                </div>
              </div>
              <p>参数说明:</p>
              <div class="md-atomic">
                <div class="table-container" style="width:100%;">
                  <table class="md-table">
                    <thead>
                      <th><p>名称</p></th>
                      <th><p>格式</p></th>
                      <th><p>值说明</p></th>
                    </thead>
                    <tbody>
                      <tr>
                        <td><p>adcode</p></td>
                        <td><p>数字</p></td>
                        <td><p>市级行政区划编号</p></td>
                      </tr>
                      <tr>
                        <td><p>keywords</p></td>
                        <td><p>任意字符</p></td>
                        <td><p>待查询地址</p></td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <h2>返回示例</h2>
              <div class="md-demo-code-wrapper">
                <div class="md-demo-code-header"><a class="active">json</a></div>
                <div class="md-demo-code-content">
                  <div class="md-demo-code-content-item active">
                    <pre><code class="html hljs xml">
  {
    "errcode": 0,
    "errmsg": "ok",
    "total": 1,
    "list": [
      {
        "id": "3700000152276",
        "adcode": "460105",
        "name": "晨晖·帝景(南门)",
        "address": "西秀镇长滨西一街6",
        "province": "海南省",
        "city": "海口市",
        "district": "秀英区",
        "tel": null,
        "lon": 110.17950883,
        "lat": 20.053790498
      }
    ]
  }
                                        </code></pre>
                  </div>
                </div>
              </div>
              <p>属性说明:</p>
              <div class="md-atomic">
                <div class="table-container" style="width:100%;">
                  <table class="md-table">
                    <thead>
                      <tr><th><p>属性名称</p></th><th><p>属性说明</p></th></tr>
                    </thead>
                    <tbody>
                      <tr><td><p>total</p></td><td><p>总匹配数量</p></td></tr>
                      <tr><td><p>list[].address</p></td><td><p>地址</p></td></tr>
                      <tr><td><p>list[].province</p></td><td><p>省</p></td></tr>
                      <tr><td><p>list[].city</p></td><td><p>市</p></td></tr>
                      <tr><td><p>list[].district</p></td><td><p>区</p></td></tr>
                      <tr><td><p>list[].name</p></td><td><p>名称</p></td></tr>
                      <tr><td><p>list[].tel</p></td><td><p>电话</p></td></tr>
                      <tr><td><p>list[].id</p></td><td><p>id</p></td></tr>
                      <tr><td><p>list[].lon</p></td><td><p>经度</p></td></tr>
                      <tr><td><p>list[].lat</p></td><td><p>纬度</p></td></tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </article>
      </div>
    </div>
  </div>
</body>

</html>